﻿<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>
<s:if test="face.ieTitle==null">
办公系统
</s:if>
<s:else>
<s:property value="face.ieTitle"/>
</s:else>
</title>
</head>
<link href="${ctx}/css/main/base.css" rel="stylesheet" type="text/css"/>
<script language="javascript" type="text/javascript" >
function openURL(URL)
{
  	 parent.main.location=URL;
}
function re_login()
{
     parent.parent.location="${ctx}/front/loginindex.action";
}

function re_exit()
{
     msg="您好，您正确认要退出吗？";
  if(window.confirm(msg))
     parent.parent.location="${ctx}/front/loginindex!exit.action";
}
function re_main()
{
    
     parent.parent.location="${ctx}";
}

function mtime()
　　{
　　now = new Date();
　　h=now.getHours();
　　m=now.getMinutes();
　　s=now.getSeconds();

　　if(h<10){h="0"+now.getHours();}

　　if(m<10){m="0"+now.getMinutes();}

　　if(s<10){s="0"+now.getSeconds();}
   
   
　　document.getElementById("clienttime").innerHTML=now.getYear()+"年"+(now.getMonth()+1)+"月"+now.getDate()+"日 星期"+"日一二三四五六".charAt(now.getDay())+" "+h+":"+m+":"+s; 
     //设置 id 为 clienttime 的对象内的内容为当前日期时间 

　　}

    setInterval("mtime()",1000)       //每1000毫秒(即1秒) 执行一次本段代码 
</script> 
<body >
<div id="top" style="background:url(${ctx}/images/main/top_bg.jpg)" >
	<ul>
	<li class="toptitle"
	<s:if test="face.bannerFont==null"> style="font-family:"宋体"" </s:if>
	 <s:else>style="font-family:'<s:property value="face.bannerFont"/>'"</s:else>
	 >
	 <s:if test="user.s != null">
		 <s:if test="user.s == 0"> 提案系统 </s:if>
		 <s:if test="user.s == 1"> 社情民意系统 </s:if>
	 </s:if>

	 <s:else><s:property value="face.bannerText"/></s:else></li>
	<li  class="toptime"><div id="clienttime" name="clienttime"></div>
	</li></ul>
</div>
</body>
</html>
